package sixth;
abstract class A{
    interface B{
        public void printB();
    }
}
class X extends A{
   class Y implements B{
       public void printB(){
           System.out.println("接口内的方法。。。。");
       }
   }
}
public class Demo {
    public static void main(String[] args) {
        A.B b = new X().new Y();
        b.printB();
    }
}
